<!DOCTYPE html>
<html lang="">
<head>
	<meta charset="utf-8">
	<title>Toast</title>

	<link rel="stylesheet" type="text/css" href="../css/toast.css">
	<link rel="stylesheet" type="text/css" href="../css/theme.css">
	<link rel="stylesheet" type="text/css" href="../css/transition.css">
	<style>
		*{ padding: 0; margin: 0; }
		button{ padding: 2px 12px; margin: 50px 50px 0 10px; }
	</style>
	
</head>
<body>

	<button id="scale">scale</button>
	<button id="slide">slide</button>
	<button id="fade">fade</button>
	<button id="center">center</button>		

	<script type="text/javascript" src="../script/jquery.js"></script>
	<script type="text/javascript" src="../script/jquery.toast.js"></script>
	<script>
		$(function () {	
			var $scale = $('#scale'),
				$slide = $('#slide'),
				$fade = $('#fade'),
				$center = $('#center');	
			$scale.on('click', function (e) {
				e.preventDefault();
				$.toast()
					.done(function () {});	
			});	

			$slide.on('click', function (e) {
				e.preventDefault();
				$.toast({transition: 'slide'})
			    	.done(function () {});	
			});	

			$fade.on('click', function (e) {
				e.preventDefault();
				$.toast({transition: 'fade'})
					.done(function () {});	
			});	

			$center.on('click', function (e) {
				e.preventDefault();
				$.toast({center: true})
					.done(function () {});	
			});	
		});
	</script>
</body>
</html>
